home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr02 / wpbklt21.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-07-01  |  4KB  |  118 lines

  1. ECHO OFF
  2. rem ---------- C U S T O M I Z A T I O N   A R E A ------------
  3.  
  4. rem To Customize the Installation procedure for your system edit 
  5. rem the lines below.  For example, to change the subdirectory 
  6. rem holding your WordPerfect program, edit the line below which 
  7. rem begins "SET WPDIR=".  You would change ONLY the information 
  8. rem to the right of the "=" character.  DO NOT PLACE A "\" AT THE 
  9. rem END OF ANY OF THESE ENTRIES!!!
  10.  
  11. rem Feel free to use WordPerfect to make these changes but make 
  12. rem certain you save the altered file as DOS TEXT.  To do so press 
  13. rem Ctrl-F5 (Text In/Out), "T" or "1" for DOS Text, "S" or "1" for 
  14. rem Save.
  15.  
  16. rem Where the files are now
  17. SET NOW=A:
  18.  
  19. rem Hard Drive (for WordPerfect)
  20. SET WPDRive=C:
  21.  
  22. rem WordPerfect Subdirectory
  23. SET WPDIR=\WP51
  24.  
  25. rem Name of Executable WordPerfect File
  26. SET WPName=WP
  27.  
  28. rem Hard Drive (for your WordPerfect macros)
  29. SET WPMDrive=C:
  30.  
  31. rem Subdirectory holding WordPerfect macros
  32. SET WPMacDir=\WP51\MACROS
  33.  
  34. rem     \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  35. rem      There should be NO need to edit ANYTHING below this line!!!
  36. rem     \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  37.  
  38. CLS
  39. echo ═══════════════════════════════════════════════════════════════════════
  40. echo Automated installation procedure for the WP Booklet System 2.1.
  41. echo.
  42. echo The WP Booklet System is copyright 1992-93 by:
  43. echo    Alex D. Ogden; 3029 Chandler Court; Murfreesboro, TN  37129
  44. echo.
  45. echo This file will install WP Booklet to its own subdirectory (\WPBKLT21),
  46. echo then execute WordPerfect and run the WordPerfect macro designed to tell
  47. echo WP Booklet where its files are located.  The following parameters will 
  48. echo be used throughout this installation process:
  49. echo.
  50. echo          Where the files are now: %NOW%
  51. echo  Path to your WordPerfect macros: %WPMDrive%%WPMacDir%
  52. echo      Path & name for WordPerfect: %WPDRive%%WPDIR%\%WPName%
  53. echo.
  54. echo If any of this information is not correct, press Ctrl-BREAK or Ctrl-C 
  55. echo now to abort this batch file.  To change any of the above parameters,
  56. echo use a editor to edit the start of this batch file.  Feel free to use
  57. echo WordPerfect to make these changes but make certain the altered file is
  58. echo saved as DOS TEXT.
  59. echo.
  60. echo If the information IS correct, press any key to proceed.
  61. echo ═══════════════════════════════════════════════════════════════════════
  62. pause >NUL
  63.  
  64. cls
  65. echo ═══════════════════════════════════════════════════════════════════════
  66. echo Copying WP Booklet System from %NOW% to %WPMDrive%%WPMacDir%\WPBKLT21...
  67. echo.
  68. echo These are the macros and other files making up the WP Booklet System.
  69. echo They absolutely MUST NOT be deleted for WP Booklet to operate.
  70. echo ═══════════════════════════════════════════════════════════════════════
  71. %WPMDrive%
  72. cd %WPMDrive%%WPMacDir%
  73. md WPBKLT21 >NUL
  74. %NOW%\wpbklt21 %WPMDrive%%WPMacDir%\WPBKLT21
  75. echo 
  76. pause
  77. cls
  78. echo ═══════════════════════════════════════════════════════════════════════
  79. echo The following are general information files.
  80. echo.
  81. echo They may be deleted if necessary without affecting the operation of
  82. echo WP Booklet.
  83. echo ═══════════════════════════════════════════════════════════════════════
  84. echo.
  85. echo VENDOR.DOC
  86. copy %NOW%\VENDOR.DOC %WPMDrive%%WPMacDir%\WPBKLT21
  87. echo.
  88. echo READ.ME
  89. copy %NOW%\READ.ME %WPMDrive%%WPMacDir%\WPBKLT21
  90. echo.
  91. echo WHATS.NEW
  92. copy %NOW%\WHATS.NEW %WPMDrive%%WPMacDir%\WPBKLT21
  93. echo.
  94.  
  95. rem Now go and run WordPerfect with SETPATH macro
  96. rem
  97. rem First set path to WP macros in environment variable
  98. SET ALEX=%WPMDrive%%WPMacDir%\
  99. cd\
  100. %WPDRive%
  101. %WPDRive%%WPDIR%\%WPName%/m-%ALEX%WPBKLT21\setpath
  102. cd\
  103. cls
  104. :END
  105. REM Clear all variables used...
  106. SET NOW=
  107. SET WPDRive=
  108. SET WPDIR=
  109. SET WPName=
  110. SET WPMDrive=
  111. SET WPMacDir=
  112. SET ALEX=
  113.  
  114. echo ═══════════════════════════════════════════════════════════════════════
  115. echo  This concludes the installation process for the WP Booklet System 2.1
  116. echo ═══════════════════════════════════════════════════════════════════════
  117. echo.
  118.